package com.wnxy.pawnbackgroundsystem.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wnxy.pawnbackgroundsystem.dto.ParameterDto;
import com.wnxy.pawnbackgroundsystem.dto.ParameterPageDto;
import com.wnxy.pawnbackgroundsystem.entity.Parameter;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wnxy.pawnbackgroundsystem.param.AddParameterParam;
import com.wnxy.pawnbackgroundsystem.param.SelectParameterParam;
import com.wnxy.pawnbackgroundsystem.param.UpdateParameterParam;

import java.util.List;

/**
 * <p>
 * 商品参数表 服务类
 * </p>
 *
 * @author Lucas
 * @since 2021-10-14
 */
public interface IParameterService extends IService<Parameter> {

    IPage<ParameterDto> selectParameter(SelectParameterParam spp);

    void addParameter(AddParameterParam addParameterParam);

    void delParameter(Integer num);

    void updatePraemeter(UpdateParameterParam updateParameterParam);

    String getSizeName(Integer parameterId);
}
